Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.actions--filters

This contribution is part of XML component org.nuxeo.dam.actions inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="canCreateInAssetLibrary">
          <rule grant="true">
            <condition>#{damActions.canCreateInAssetLibrary}</condition>
          </rule>
        </filter>
  • <filter append="true" id="create">
          <rule grant="true">
            <type>AssetLibrary</type>
            <type>ImportRoot</type> <!-- for backward compatibility -->
          </rule>
        </filter>
  • <filter append="true" id="importFile">
          <rule grant="true">
            <type>AssetLibrary</type>
            <type>ImportRoot</type> <!-- for backward compatibility -->
          </rule>
        </filter>
  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>DamSearch</facet>
          </rule>
        </filter>
  • <filter id="denyForDamSearch">
          <rule grant="false">
            <facet>DamSearch</facet>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="canCreateInAssetLibrary">
      <rule grant="true">
        <condition>#{damActions.canCreateInAssetLibrary}</condition>
      </rule>
    </filter>

    <filter append="true" id="create">
      <rule grant="true">
        <type>AssetLibrary</type>
        <type>ImportRoot</type> <!-- for backward compatibility -->
      </rule>
    </filter>

    <filter append="true" id="importFile">
      <rule grant="true">
        <type>AssetLibrary</type>
        <type>ImportRoot</type> <!-- for backward compatibility -->
      </rule>
    </filter>

    <filter append="true" id="rights">
      <rule grant="true">
        <facet>DamSearch</facet>
      </rule>
    </filter>

    <filter id="denyForDamSearch">
      <rule grant="false">
        <facet>DamSearch</facet>
      </rule>
    </filter>

  </extension>